package org.arguments;

import java.util.Arrays;

public class TestArguments {
    public static void list(String[] args) {
        for (String arg: args) {
            System.out.println(arg);
        }
    }

    public static  void printVersion(String[] args) {
        for (String arg: args) {
            if (arg.equals("-version")) {
                System.out.println("v 1.0");
                break;
            }
        }
    }
}
